import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// // 引入阿里icon :class用
// import './assets/iconfont/iconfont.css'
// // 引入阿里icon :symbol 有颜色的用
// import './assets/iconfont/iconfont'
//引入全局样式
import './assets/css/init.css'
const app = createApp(App)
    //注册全局组件
import PageView from "@/components/PageView.vue"
app.component('page-view', PageView)
import TopNav from '@/components/TopNav.vue'
app.component('top-nav', TopNav)

import PageHeader from '@/components/PageHeader.vue'
app.component('page-header', PageHeader)

app.use(store).use(router).mount('#app')